package com.ssm.pojo;

import org.apache.ibatis.type.Alias;
import org.springframework.stereotype.Component;
import java.io.Serializable;
import java.util.Date;

@Component
@Alias("Record")
public class Record implements Serializable {

  /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
private long id;
  private long yongid;
  private long bookid;
  private Date rent;
  private Date back;
  private long guanid;
  private Integer status;

 //外键
  private Yong yong;
  private Book book;
  private Guan guan;
 //book字段
    private String name;
    private String wr;
    private String pu;
    private long typeid;
    private String add;
    private long stock;

    private Integer backStatus;

    // 页面数据
    private int start;
    // 当前页数
    private int currentPage;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  

  public Book getBook() {
    return book;
  }

  public void setBook(Book book) {
    this.book = book;
  }


public Yong getYong() {
	return yong;
}

public void setYong(Yong yong) {
	this.yong = yong;
}

public Guan getGuan() {
	return guan;
}

public void setGuan(Guan guan) {
	this.guan = guan;
}

public long getYongid() {
	return yongid;
}

public void setYongid(long yongid) {
	this.yongid = yongid;
}

public long getBookid() {
	return bookid;
}

public void setBookid(long bookid) {
	this.bookid = bookid;
}

public Date getRent() {
	return rent;
}

public void setRent(Date rent) {
	this.rent = rent;
}

public Date getBack() {
	return back;
}

public void setBack(Date back) {
	this.back = back;
}

public long getGuanid() {
	return guanid;
}

public void setGuanid(long guanid) {
	this.guanid = guanid;
}

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public long getTypeid() {
        return typeid;
    }

    public void setTypeid(long typeid) {
        this.typeid = typeid;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPu() {
        return pu;
    }

    public void setPu(String pu) {
        this.pu = pu;
    }




    public long getStock() {
        return stock;
    }

    public void setStock(long stock) {
        this.stock = stock;
    }


    public String getAdd() {
        return add;
    }

    public void setAdd(String add) {
        this.add = add;
    }

    public String getWr() {
        return wr;
    }

    public void setWr(String wr) {
        this.wr = wr;
    }

    public Integer getBackStatus() {
        return backStatus;
    }

    public void setBackStatus(Integer backStatus) {
        this.backStatus = backStatus;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

}
